package com.bootdo.goods.dao;

import com.bootdo.goods.domain.GoodsDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 商品信息表
 * @author fanmanfu
 * @email 2278799009@qq.com
 * @date 2020-11-27 19:47:39
 */
@Mapper
public interface GoodsDao {

	GoodsDO get(Long id);

	List<GoodsDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(GoodsDO goods);

	int update(GoodsDO goods);

	int remove(Long id);

	int batchRemove(Long[] ids);
}
